package com.typhoon.spring_jdbctemplate.dao.support;

/**
 * 数据库方言
 * 
 * @author Typhoon
 * @date 2018-05-06 14:34 Sunday
 */
public class MySql5Dialect
{

    protected static final String SQL_END_DELIMITER = ";";

    public static String getLimitString( String sql, boolean hasOffset )
    {
        return MySql5PageHepler.getLimitString( sql, -1, -1 );
    }

    public static String getLimitString( String sql, int offset, int limit )
    {
        return MySql5PageHepler.getLimitString( sql, offset, limit );
    }
//
//    public boolean supportsLimit()
//    {
//        return true;
//    }
}
